package com.cw.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cw.entity.Orders;
import com.cw.entity.dto.ReportResponseTemplate;
import com.cw.entity.dto.OrdersDto;

import javax.servlet.http.HttpServletRequest;
import java.util.List;


public interface OrdersService extends IService<Orders> {
    void submit(Orders orders, HttpServletRequest request);

    IPage<OrdersDto> pageList(Page<Orders> ordersPage, LambdaQueryWrapper<Orders> wrapper);

    List<ReportResponseTemplate> monthlyReport();
}
